package team.pwy.service;

import team.pwy.pojo.entity.User;

import java.util.List;

public interface UserService{
    User login(String account, String password);

    User findByAccount(String Account);

    User findByUserId(Integer userId);
    Integer register(User user);


    Integer updateMessage(User user);

    User findByPhone(String phone);

    Integer addUser(String account,String password,String phone);
    //随机生成账号
    String account();

    String password();

}
